import service from '@/utils/request'

export const yiyucontent = () => {
  return service({
    url: '/yiyu/yiyucontent',
    method: 'post'
  })
}

export const yiyuGetidContent = (params) => {
  return service({
    url:'/yiyu/yiyuGetidContent',
    method:'get',
    params
  })
}

export const yiyuCreateContent = (data) => {
  return service({
    url:'/yiyu/yiyuCreateContent',
    method:'post',
    data
  })
}

export const yiyuDeleteContent = (params) => {
  return service({
    url:'/yiyu/yiyuDeleteContent',
    method:'delete',
    params
  })
}

export const yiyuUpdateContent = (data) => {
  return service({
    url:'/yiyu/yiyuUpdateContent',
    method:'put',
    data
  })
}